<br />
<div id="sanphamhot" style="border-top: 1px solid #0056a1; border-bottom: 1px solid #0056a1; background: #e6e6e6;">
	<h2 style="color: #e81e1e; text-shadow: 1px 1px #b5b5b5;">&nbsp;Sản phẩm HOT! <img src="./images/hot.png" height="40" width="60" /></h2><br />
	<div id="slide">
    <MARQUEE  SCROLLAMOUNT="20" direction="right" height="100%"  scrolldelay="150" SCROLLAMOUNT="75"   behavior=”alternate”>
    	<?php
			include_once("template/DataProvider.php");
			$query = "SELECT * FROM sanpham ORDER BY SoLuotXem DESC LIMIT 0,10";
			$result = DataProvider::ExecuteQuery($query);
			while($row = mysql_fetch_array($result))
			{
				?>
                
                
                <div class="pname" style="display: inline-block; border: 1px solid #99c7eb;" >
                    <a href="trangchu.php?act=4&id=<?php echo $row["MaSP"]; ?>"  >
					   <img src="img_us/<?php echo $row["HinhURL"];?>" width="230" height="150" />
                    </a>
    			 	<h3 style="color: #055063; font-size: 15px; text-align: center;"><?php echo $row["TenSP"]; ?></h3>
                
				</div>
                
                
                
				<?php
			}
		?>
        </marquee><font face="0Font"></font>
    </div>
</div>